import request from '../utils/request'

// 1.登陆接口
export function loginFunApi(data) {
    return request({
        url: '/login',
        method: 'post',
        data
    })
}

// 2 获取用户信息
export function getUserApi(data) {
    return request({
        url: '/getuser',
        method: 'post',
        data
    })
}

// 3 修改密码
export function modifyUserApi(data) {
    return request({
        url: '/modify',
        method: 'post',
        data
    })
}